class CreatePasts < ActiveRecord::Migration
  def self.up
    create_table :pasts do |t|
      t.column  :student_id,  :integer, :null => false
      t.column  :course_id,   :integer, :null => false
      t.column  :semester_id, :integer, :null => false
    end
  end

  def self.down
    drop_table :pasts
  end
end
